package music;

/**
 * 测试类
 * @Author lzp
 * @Date 2024-03-12
 */
public class Test {
    public static void main(String[] args) {
        Music music= new Music();
        JiTa jiTa = new JiTa();
       music.YinYueJia(jiTa);

        Piano piano =new Piano();
        music.YinYueJia(piano);

        Violin violin =new Violin();
        music.YinYueJia(violin);

    }
}
